package com.ruoyi.youtian.service;

import com.ruoyi.youtian.domain.ScenePoint;
import com.ruoyi.youtian.domain.vo.ScenePointVo;

import java.util.List;


/**
 * 场景与点位关联Service接口
 *
 * @author ruoyi
 * @date 2022-09-15
 */
public interface IScenePointService
{
    /**
     * 查询场景与点位关联
     *
     * @param id 场景与点位关联主键
     * @return 场景与点位关联
     */
    public ScenePoint selectScenePointById(Long id);

    /**
     * 查询场景与点位关联列表
     *
     * @param scenePoint 场景与点位关联
     * @return 场景与点位关联集合
     */
    public List<ScenePoint> selectScenePointList(ScenePoint scenePoint);

    /**
     * 新增场景与点位关联
     *
     * @param scenePoint 场景与点位关联
     * @return 结果
     */
    public int insertScenePoint(ScenePointVo scenePointVo);

    /**
     * 修改场景与点位关联
     *
     * @param scenePoint 场景与点位关联
     * @return 结果
     */
    public int updateScenePoint(ScenePoint scenePoint);

    /**
     * 批量删除场景与点位关联
     *
     * @param ids 需要删除的场景与点位关联主键集合
     * @return 结果
     */
    public int deleteScenePointByIds(Long[] ids);

    /**
     * 删除场景与点位关联信息
     *
     * @param id 场景与点位关联主键
     * @return 结果
     */
    public int deleteScenePointById(Long id);


    /**
     * 删除场景点位
     * @return
     */
    public int scenePointRemove(ScenePoint scenePoint);


}
